<html xmlns="http://www.w3.org/1999/xhtml"  
     xmlns:h="http://java.sun.com/jsf/html"      
      xmlns:f="http://java.sun.com/jsf/core"
     xmlns:p="http://primefaces.org/ui">  
 <h:head><title>Welcome to OTV_JSF_Spring_Hibernate_Project</title></h:head>  
 <h:body>
     <h:form>      
	    
<p:layout fullPage="true">  
  
    <p:layoutUnit position="north" size="100" header="Top" resizable="true" closable="true" collapsible="true">  
     
    </p:layoutUnit>  
  
    <p:layoutUnit position="south" size="100" header="Bottom" resizable="true" closable="true" collapsible="true">  
        <h:outputText value="South unit content." />  
    </p:layoutUnit>  
  
    <p:layoutUnit position="west" size="200" header="Left" resizable="true" closable="true" collapsible="true">  
        
        <p:commandButton action="#{htmlFileMB.getValues}" update="editor,board">get</p:commandButton>   
	    
		<p:dashboard id="board" model="#{htmlFileMB.model}" >  
			<p:panel id="slides"  header="F.C. Barcelona" footer="Visca el Barca!">  
	       		<p:outputPanel >  
			     test
				</p:outputPanel>  
	        </p:panel>   
	        <p:panel id="slide2"  header="F.C. Barcelona" footer="Visca el Barca!">  
	       		<p:outputPanel >  
			     test
				</p:outputPanel>  
	        </p:panel>   
        </p:dashboard>
        
        	
    </p:layoutUnit>  
  
    <p:layoutUnit position="east" size="200" header="Right" resizable="true" closable="true" collapsible="true" effect="drop">  
        <h:outputText value="Right unit content." />  
    </p:layoutUnit>  
  
    <p:layoutUnit position="center">  
      
            <p:editor id="editor" value="#{htmlFileMB.editor}"></p:editor>
  
      
    </p:layoutUnit>  
  
</p:layout>  
                          
     </h:form>      
</h:body>
</html> 